package com.hckjsec.cloud.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 申办信息视频用户对象 applets_business_video_user
 * 
 * @author cyt
 * @date 2021-08-27
 */
public class AppletsBusinessVideoUser implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 视频id */
    @Excel(name = "视频id")
    private Long videoid;

    /** openid */
    @Excel(name = "openid")
    private String openid;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private String signtype;

    /** 签字用户id */
    @Excel(name = "签字用户id")
    private Long signuserid;

    /** 签字用户姓名 */
    @Excel(name = "签字用户姓名")
    private String signusername;

    /** 是否进行过活体 */
    @Excel(name = "是否进行过活体")
    private String isliving;

    /** 签字图片路径 */
    @Excel(name = "签字图片路径")
    private String signimg;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public AppletsBusinessVideoUser() {
    }

    public AppletsBusinessVideoUser(Long videoid) {
        this.videoid = videoid;
    }

    public AppletsBusinessVideoUser(Long videoid, String signtype) {
        this.videoid = videoid;
        this.signtype = signtype;
    }

    public AppletsBusinessVideoUser(Long videoid, String openid, String signtype) {
        this.videoid = videoid;
        this.openid = openid;
        this.signtype = signtype;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setVideoid(Long videoid) 
    {
        this.videoid = videoid;
    }

    public Long getVideoid() 
    {
        return videoid;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getSigntype()
    {
        return signtype;
    }
    public void setSigntype(String signtype)
    {
        this.signtype = signtype;
    }


    public String getOpenid() 
    {
        return openid;
    }
    public void setSignuserid(Long signuserid) 
    {
        this.signuserid = signuserid;
    }

    public Long getSignuserid() 
    {
        return signuserid;
    }
    public void setSignusername(String signusername) 
    {
        this.signusername = signusername;
    }

    public String getSignusername() 
    {
        return signusername;
    }
    public void setIsliving(String isliving) 
    {
        this.isliving = isliving;
    }

    public String getIsliving() 
    {
        return isliving;
    }
    public void setSignimg(String signimg) 
    {
        this.signimg = signimg;
    }

    public String getSignimg() 
    {
        return signimg;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("videoid", getVideoid())
            .append("openid", getOpenid())
            .append("signtype", getSigntype())
            .append("signuserid", getSignuserid())
            .append("signusername", getSignusername())
            .append("isliving", getIsliving())
            .append("signimg", getSignimg())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
